package com.modouyu.demo212.demo212;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationFailedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @Auther: modouyu
 * @Date: 2018/7/10 08:25
 * @Description:springboot 启动异常执行
 * @Email: yangcb@daochunfin.com
 */
@Slf4j
public class ApplicationFailedEventListener implements ApplicationListener<ApplicationFailedEvent> {
    @Override
    public void onApplicationEvent(ApplicationFailedEvent applicationFailedEvent) {

        log.info("...ApplicationFailedEvent...");

    }
}
